package com.jyw.business.obstacles.start;

import com.jyw.business.obstacles.service.ILyLtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 力盈力泰盒子UDP服务
 * @author sunshine
 * @date 2022年7月22日
 */
@Component
public class LyltStarter implements ApplicationRunner {

	@Autowired
	private ILyLtService lyLtService;
	@Override
	public void run(ApplicationArguments args) throws Exception {
		lyLtService.init();
	}
}
